//main.tsx
import ReactDOM from 'react-dom/client'
import App from './App.tsx'
// import '@/components/style/global.scss'
// import 'reset-css'
import { BrowserRouter } from 'react-router-dom'
import './App.css'
import 'virtual:svg-icons-register' // 封装svg图标

//切换中文
import { ConfigProvider } from 'antd'
import zhCN from 'antd/es/locale/zh_CN'
import 'antd/dist/reset.css'

//状态管理
// import {Provider} from "react-redux";
// import store from "@/store/store";

ReactDOM.createRoot(document.getElementById('root')!).render(
  <BrowserRouter>
    {/*<React.StrictMode>*/}
    <ConfigProvider locale={zhCN}>
      <App />
    </ConfigProvider>
    {/*</React.StrictMode>*/}
  </BrowserRouter>,
)
